<?php


namespace app\admin\validate;


use app\common\validate\BaseValidate;

class AdminUser extends BaseValidate
{
    protected $rule = [
        'username|用户名' => 'require',
        'password|密码' => 'require'
    ];
    protected $scene = [
        'login' => ['username', 'password']
    ];
}